/***************************************************************
 * Name:      wxCalculatorMain.h
 * Purpose:   Defines Application Frame
 * Author:     ()
 * Created:   2023-04-13
 * Copyright:  ()
 * License:
 **************************************************************/

#ifndef WXCALCULATORMAIN_H
#define WXCALCULATORMAIN_H

//(*Headers(wxCalculatorFrame)
#include <wx/button.h>
#include <wx/frame.h>
#include <wx/menu.h>
#include <wx/sizer.h>
#include <wx/statusbr.h>
#include <wx/textctrl.h>
//*)

class wxCalculatorFrame: public wxFrame
{
    public:

        wxCalculatorFrame(wxWindow* parent,wxWindowID id = -1);
        virtual ~wxCalculatorFrame();

    private:
        wxString firstnum, secondnum, answer;
        unsigned int operators;

        //(*Handlers(wxCalculatorFrame)
        void OnQuit(wxCommandEvent& event);
        void OnAbout(wxCommandEvent& event);
        void OnTextCtrl1Text(wxCommandEvent& event);
        void OnButton7Click(wxCommandEvent& event);
        void Onbtn7Click(wxCommandEvent& event);
        void Onbtn8Click(wxCommandEvent& event);
        void Onbtn9Click(wxCommandEvent& event);
        void OnbtnCEClick(wxCommandEvent& event);
        void Onbtn4Click(wxCommandEvent& event);
        void Onbtn5Click(wxCommandEvent& event);
        void Onbtn6Click(wxCommandEvent& event);
        void Onbtn1Click(wxCommandEvent& event);
        void Onbtn2Click(wxCommandEvent& event);
        void Onbtn3Click(wxCommandEvent& event);
        void OnbtnBackSpClick(wxCommandEvent& event);
        void OnbtnCClick(wxCommandEvent& event);
        void OnbtnPMClick(wxCommandEvent& event);
        void OnbtnPlusClick(wxCommandEvent& event);
        void OnbtnMinusClick(wxCommandEvent& event);
        void OnbtnMultiClick(wxCommandEvent& event);
        void OnbtnDivClick(wxCommandEvent& event);
        void OnbtnDotClick(wxCommandEvent& event);
        void Onbtn0Click(wxCommandEvent& event);
        void OnbtnEqualClick(wxCommandEvent& event);
        //*)

        //(*Identifiers(wxCalculatorFrame)
        static const long ID_TEXTDisplay;
        static const long ID_BTNBackSP;
        static const long ID_BTNCE;
        static const long ID_BTNC;
        static const long ID_BTNPM;
        static const long ID_BTN7;
        static const long ID_BTN8;
        static const long ID_BTN9;
        static const long ID_BTNPlus;
        static const long ID_BTN4;
        static const long ID_BTN5;
        static const long ID_BTN6;
        static const long ID_BTNMinus;
        static const long ID_BTN1;
        static const long ID_BTN2;
        static const long ID_BTN3;
        static const long ID_BTNMulti;
        static const long ID_BTN0;
        static const long ID_BTNDot;
        static const long ID_BTNEqual;
        static const long ID_BTNDiv;
        static const long ID_MENUITEM1;
        static const long idMenuAbout;
        static const long ID_STATUSBAR1;
        //*)

        //(*Declarations(wxCalculatorFrame)
        wxButton* btn0;
        wxButton* btn1;
        wxButton* btn2;
        wxButton* btn3;
        wxButton* btn4;
        wxButton* btn5;
        wxButton* btn6;
        wxButton* btn7;
        wxButton* btn8;
        wxButton* btn9;
        wxButton* btnBackSp;
        wxButton* btnC;
        wxButton* btnCE;
        wxButton* btnDiv;
        wxButton* btnDot;
        wxButton* btnEqual;
        wxButton* btnMinus;
        wxButton* btnMulti;
        wxButton* btnPM;
        wxButton* btnPlus;
        wxStatusBar* StatusBar1;
        wxTextCtrl* txtDisplay;
        //*)

        DECLARE_EVENT_TABLE()
};

#endif // WXCALCULATORMAIN_H
